package cn.iocoder.yudao.module.product.convert.calculation;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.ProcessCalculationCreateReqVO;
import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.ProcessCalculationRespVO;
import cn.iocoder.yudao.module.product.controller.admin.calculation.vo.ProcessCalculationUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.dal.dataobject.calculation.ProcessCalculationDO;

/**
 * 工序-核算关联 Convert
 *
 * @author wcl
 */
@Mapper
public interface ProcessCalculationConvert {

    ProcessCalculationConvert INSTANCE = Mappers.getMapper(ProcessCalculationConvert.class);

    ProcessCalculationDO convert(ProcessCalculationCreateReqVO bean);

    ProcessCalculationDO convert(ProcessCalculationUpdateReqVO bean);

    ProcessCalculationRespVO convert(ProcessCalculationDO bean);

    List<ProcessCalculationRespVO> convertList(List<ProcessCalculationDO> list);

    PageResult<ProcessCalculationRespVO> convertPage(PageResult<ProcessCalculationDO> page);

}
